package com.myframe.www.model.remote;

import com.myframe.www.model.remote.bean.BannerListBean;
import com.myframe.www.model.remote.bean.HotListBean;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Description:
 * Created by Andy Hong on 10/23/2017.
 */

public interface IndexService {



    /**
     * 获取首页热门
     */
    @GET("v1.0/anchors/hot")
    Observable<HotListBean> getHotList(@Query("page") int page,
                                       @Query("size") int pageSize);

    /**
     * 获取首页banner信息
     */
    @GET("v1.0/banners")
    Observable<BannerListBean> getBannerList();

}
